<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@include file="../includes/header.jsp"%>

<h2 class="title">Detail of the user profile</h2>
<s:div cssClass="entry">
	<table>
		<tr>
			<td>Login :</td>
			<td><s:property value="u.login" /></td>
		</tr>
		<tr>
			<td>Password :</td>
			<td><s:property value="u.password" /></td>
		</tr>
		<tr>
			<td>Last name :</td>
			<td><s:property value="u.lastname" /></td>
		</tr>
		<tr>
			<td>First name :</td>
			<td><s:property value="u.firstname" /></td>
		</tr>
		<tr>
			<td>Mail :</td>
			<td><s:a href="mailto:%{u.mail}">
				<s:property value="u.mail" />
			</s:a></td>
		</tr>
		<tr>
			<td>Favorite currency :</td>
			<td><s:property value="u.favoriteCurrency.code" /> (<s:property
				value="u.favoriteCurrency.name" />)</td>
		</tr>
		<tr>
			<td>Admin :</td>
			<td><s:if test="u.admin">Yes</s:if><s:else>No</s:else></td>
		</tr>
	</table>
	<s:url action="users" var="users" includeParams="get" />
	<s:a href="%{users}">Back</s:a>
</s:div>

<%@include file="../includes/footer.jsp"%>
